/**
*      author: Y_Yao
*      created: 2025-04-18 11:01:47
**/

#include<bits/stdc++.h>

#define int LL
using namespace std;
using LL = long long;
const LL LLINF = 9e18;
const int INF = 0x3f3f3f3f;
double vp,vd,t,f,c;

void solve()
{
    cin >> vp >> vd >> t >> f >> c;
    vp *= 1.0,vd *= 1.0,t *= 1.0,f*=1.0,c*=1.0;
    double cur = 0;
    double curp = 0;
    double cnt = 0;
    if(vp >= vd)
    {
        cout << 0 << endl;
        return;
    }
    while(cur < c)
    {
        cnt++;
        curp += vp * t;
        int diff = curp - cur;
        cur = curp + diff / (vd - vp) * vp;
        curp = cur;
        if(curp == c)break;
        t = (curp * 2) / vd + f;
    }

    cout << cnt - 1 << endl;
}

signed main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);

    int t = 1;
    // cin >> t;
    while(t--)
    {
        solve();
    }
    return 0;
}